﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;

using CE.Global;

public partial class Admin_user_ViewUserViewedHistorySummary : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (Session[CE.Global.General.UserId] != null && Session[CE.Global.General.UserTypeId] != null)
        {
            if (Convert.ToInt32(Session[CE.Global.General.UserTypeId]) !=
                Convert.ToInt32(CE.Global.CEUserType.SiteAdmin))
            {
                Response.Redirect("~/Admin/AdminSecureLogin.aspx");
            }
        }
        else
        {
            Response.Redirect("~/Admin/AdminSecureLogin.aspx");
        }

        if (!Page.IsPostBack)
        {
            //if (Request.Params["CEID"] != null && Request.Params["dt"] != null)
            //{
            //    txtUserId.Text = Request.Params["CEID"].ToString();
            //    txtDateTime.Text = Request.Params["dt"].ToString();
            //    //txtUserEmail.Text = "";
            //}
            //else
            //{
            string dtNow = General.GetUTCDateTime().Year.ToString("0000") + General.GetUTCDateTime().Month.ToString("00") + General.GetUTCDateTime().Day.ToString("00");
                txtDateTime.Text = dtNow;
            //}
        }
    }

    protected void btnShowResult_Click(object sender, EventArgs e)
    {

    }
}
